package com.hina.rec.application.convert.log;

import ch.qos.logback.classic.pattern.ClassicConverter;
import ch.qos.logback.classic.spi.ILoggingEvent;
import com.hina.rec.common.utils.LogUtil;

/**
 * 日志ID转换器
 *
 * @author liaosp
 */
public class LogIdConvert extends ClassicConverter {

    @Override
    public String convert(ILoggingEvent iLoggingEvent) {
        return LogUtil.getOrCreateLogId();
    }
}
